package com.example.comiccenter.service;


import com.example.comiccenter.domain.ComicPage;
import com.example.comiccenter.utils.ResultData;
import com.example.comiccenter.utils.SearchBean;
import org.springframework.stereotype.Repository;
import org.springframework.web.multipart.MultipartFile;

@Repository
public interface ComicPageService {
    ResultData getAllPage(SearchBean<ComicPage> searchBean);

    ResultData addPage(ComicPage comicPage, MultipartFile pageFile);

    ResultData deletePage(ComicPage comicPage);

    ResultData updatePage(ComicPage comicPage, MultipartFile pageFile);
}
